#ifndef     __DS18B20_H
#define     __DS18B20_H

#include "../utils/object.h"
#include "../utils/no_copyable.h"
#include "../utils/error.h"

namespace driver {

class Ds18b20 : utils::no_copyable_t {

public:
    Ds18b20();

    utils::error_t read_value(int8_t &value);
};

inline utils::object_t<Ds18b20> ds18b20;

}

#endif
